package one.stand.fallback;

import one.stand.feign.CrmFegin;
import one.stand.model.ResultModel;
import one.stand.request.*;
import one.stand.response.*;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Administrator
 */
@Component
public class CrmFallBack implements CrmFegin {

    @Override
    public ResultModel<CompanyResponse> getCompanyId(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getWxTwoCode(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Long> verifyExpired(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getCardPoster(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<NoticeResponse>> selectEffectiveList(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }
}
